package com.owen.server;

import com.owen.pojo.Fenlei;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FenleiServer {

    public List<Fenlei> findFenlei();

    public List<Fenlei> findByFenlei(Fenlei fenlei);

    public Fenlei findById(Long id);

    public Integer deleteById(Long id);

    public Integer updateById(Fenlei fenlei);

    public Integer addFenlei(Fenlei fenlei);

    public Integer deleteBatch(Integer [] ids);

    public List<Fenlei> findCommodityFenlei(Integer id);

}
